Skip to content

feat: add GitLab auth and repo support#258

Merged
skulidropek merged 10 commits intomainfrom
issue-252
May 9, 2026
Merged

feat: add GitLab auth and repo support#258
skulidropek merged 10 commits intomainfrom
issue-252

Conversation

@skulidropek
Copy link
Copy Markdown
Member

Closes #252

Summary

  • Add docker-git auth gitlab login/status/logout across CLI, API, and controller client routing.
  • Add GitLab token storage, status validation, login streaming, and create-time repo access preflight.
  • Support GitLab repo, tree/blob, issue, and merge request URLs in repo parsing and container clone templates.
  • Install and wire glab, GitLab credentials, and GitLab token sync in generated container templates.

Verification

  • bun run --cwd packages/lib typecheck
  • bun run --cwd packages/api typecheck
  • bun run --cwd packages/app typecheck
  • bun run --cwd packages/lib vitest run tests/usecases/gitlab-token-preflight.test.ts tests/usecases/auth-gitlab-status.test.ts tests/usecases/auth-sync.test.ts tests/core/templates.test.ts
  • bun run --cwd packages/api vitest run tests/auth.test.ts tests/schema.test.ts tests/auth-gitlab-login-stream.test.ts tests/auth-github-login-stream.test.ts
  • bun run --cwd packages/app vitest run tests/docker-git/parser-auth.test.ts tests/docker-git/auth-stream-markers.test.ts tests/docker-git/program.test.ts tests/docker-git/parser-gitlab-repo.test.ts
  • bun run --cwd packages/lib lint
  • bun run --cwd packages/api lint
  • targeted ESLint for changed app files
  • git diff --check

Note: full packages/app lint / lint:tests was not completed because ESLint was killed with exit 137 in this container; targeted ESLint on changed app files passed.

@skulidropek
Copy link
Copy Markdown
Member Author

skulidropek commented May 9, 2026

AI Session Backup

Commit: 3b1bcd8
Status: success
Files: 6 (5.72 MB)
Links: README | Manifest

git status

On branch issue-252
Your branch is up to date with 'origin/issue-252'.

nothing to commit, working tree clean

@skulidropek
Copy link
Copy Markdown
Member Author

skulidropek commented May 9, 2026

AI Session Backup

Commit: 1a4b6ab
Status: success
Files: 7 (7.12 MB)
Links: README | Manifest

git status

On branch issue-252
Your branch is up to date with 'origin/issue-252'.

nothing to commit, working tree clean

@skulidropek
Copy link
Copy Markdown
Member Author

skulidropek commented May 9, 2026

AI Session Backup

Commit: 4a3eab1
Status: success
Files: 8 (7.67 MB)
Links: README | Manifest

git status

On branch issue-252
Your branch is up to date with 'origin/issue-252'.

nothing to commit, working tree clean

@skulidropek
Copy link
Copy Markdown
Member Author

skulidropek commented May 9, 2026

AI Session Backup

Commit: ba06522
Status: success
Files: 9 (8.18 MB)
Links: README | Manifest

git status

On branch issue-252
Your branch is up to date with 'origin/issue-252'.

nothing to commit, working tree clean

@skulidropek
Copy link
Copy Markdown
Member Author

skulidropek commented May 9, 2026

AI Session Backup

Commit: 86eccd9
Status: success
Files: 10 (8.84 MB)
Links: README | Manifest

git status

On branch issue-252
Your branch is up to date with 'origin/issue-252'.

nothing to commit, working tree clean

@skulidropek
Copy link
Copy Markdown
Member Author

skulidropek commented May 9, 2026

AI Session Backup

Commit: f9f5e8c
Status: success
Files: 10 (10.11 MB)
Links: README | Manifest

git status

On branch issue-252
Your branch is up to date with 'origin/issue-252'.

nothing to commit, working tree clean

@skulidropek
Copy link
Copy Markdown
Member Author

skulidropek commented May 9, 2026

AI Session Backup

Commit: 83dde38
Status: success
Files: 10 (10.58 MB)
Links: README | Manifest

git status

On branch issue-252
Your branch is up to date with 'origin/issue-252'.

nothing to commit, working tree clean

@skulidropek
Copy link
Copy Markdown
Member Author

skulidropek commented May 9, 2026

AI Session Backup

Commit: 8e4d5d1
Status: success
Files: 11 (12.52 MB)
Links: README | Manifest

git status

On branch issue-252
Your branch is up to date with 'origin/issue-252'.

nothing to commit, working tree clean

@skulidropek
Copy link
Copy Markdown
Member Author

skulidropek commented May 9, 2026

AI Session Backup

Commit: 8e4d5d1
Status: success
Files: 11 (12.92 MB)
Links: README | Manifest

git status

On branch issue-252
Your branch is up to date with 'origin/issue-252'.

nothing to commit, working tree clean

@skulidropek skulidropek merged commit 341b3f9 into main May 9, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Сделать поддержку gitlab так же как и github (Должна быть команда gh) и docker-git auth gitlab login

1 participant